<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
${model.message }
<table>
<tr><td>id</td><td>word</td><td>isSystem</td><td>edit</td><td>delete</td></tr>
<c:forEach items="${model.tags }" var="t">
<tr><td>${t.id }</td>
<td>${t.word }</td>
<td><c:if test="${t.system }">SystemTag</c:if><c:if test="${!t.system }">CustomerTag</c:if></td>
<td><c:if test="${t.system }"><a href="edittag.htm?id=${t.id }">edit</a></c:if></td>
<td><a href="deltag.htm?id=${t.id }">delete</a></td></tr>
</c:forEach>
<tr><td colspan="5"><a href="addtag.htm">Add new Systag</a></td></tr>
</table>
</body>
</html>